Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Fix for replicaset initiate #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix for replicaset initiate #11

wants to merge 1 commit into from

Conversation

joe1chen
Copy link

On Mongo 2.6.2, I'm getting the following error when initiating replicaset with 1 node.

Mongo::OperationFailure
-----------------------
Database command 'replSetGetStatus' failed: can't get local.system.replset config from self or any seed (EMPTYCONFIG)

This fix checks for the error message and allows replicaset to be initiated.

….replset config from self or any seed", then initiate replicaset.
@motns
Copy link
Member

motns commented Jun 24, 2014

Thanks for the pull request! I'm aware of some issues related to MongoDB 2.6 support, but I haven't had time to properly investigate (let alone fix) those. I'll run the integration tests with your changes, but it should be alright to merge.
However, there are some problems with authentication and authorisation support for MongoDB 2.6 in our cookbook, so I need to resolve those before I can release a new version with official support for 2.6.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants